﻿

namespace DataService.Office.Word
{
    public class XmlPackageConst
    {
        public const string imgNamespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";
        public const string hyperlinkNamespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
        /// <summary>
        /// numbering.xml部件中numId值
        /// 例：<w:num w:numId="2"> <w:abstractNumId w:val="4"/></w:num>
        /// </summary>
        public const int numbering_NumId = 9998;
        /// <summary>
        /// numbering.xml部件中abstractNumId 值
        /// 例：<w:abstractNum w:abstractNumId="4"><w:lvlOverride w:ilvl="0"><w:lvl w:ilvl="0"><w:start w:val="1" /><w:numFmt w:val="decimal" /> <w:lvlText w:val="%1" /></w:lvl></w:lvlOverride></w:abstractNum>
        /// </summary>
        public const int numbering_AbstractNumId = 9999;

        /// <summary>
        /// 标题样式为【heading 1】【heading 2】...【heading 9】
        ///或者
        ///标题样式为【标题 1】【标题 2】...【标题 9】
        /// </summary>

        public static readonly string[] TitleLevels = new string[]
        {
            "标题 1","标题 2","标题 3","标题 4","标题 5","标题 6","标题 7","标题 8","标题 9",
            "heading 1","heading 2","heading 3","heading 4","heading 5","heading 6","heading 7","heading 8","heading 9",
        };
    }
}
